home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Seguranca / LB / lb.exe / data.z / httpd.conf < prev    next >
Encoding:
Text File  |  1999-01-07  |  6.2 KB  |  177 lines

  1. # This is the main server configuration file. See URL http://www.apache.org/
  2. # for instructions.
  3.  
  4. # Do NOT simply read the instructions in here without understanding
  5. # what they do, if you are unsure consult the online docs. You have been
  6. # warned.  
  7.  
  8. # Note: Where filenames are specified, you must use forward slashes
  9. # instead of backslashes. e.g. "c:/apache" instead of "c:\apache". If
  10. # the drive letter is ommited, the drive where Apache.exe is located
  11. # will be assumed
  12.  
  13. # Originally by Rob McCool
  14.  
  15. # ServerType must be standalone.
  16.  
  17. ServerType standalone
  18.  
  19. # Port: The port the standalone listens to.
  20.  
  21. Port 80
  22.  
  23. # HostnameLookups: Log the names of clients or just their IP numbers
  24. #   e.g.   www.apache.org (on) or 204.62.129.132 (off)
  25. # The default is off because it'd be overall better for the net if people
  26. # had to knowingly turn this feature on.
  27. HostnameLookups off
  28.  
  29. # If you wish httpd to run as a different user or group, you must run
  30. # httpd as root initially and it will switch.  
  31.  
  32. # User/Group: The name (or #number) of the user/group to run httpd as.
  33. #User #1
  34. #Group #1
  35.  
  36. # ServerAdmin: Your address, where problems with the server should be
  37. # e-mailed.
  38.  
  39. ServerAdmin support@kansmen.com
  40.  
  41. # ServerRoot: The directory the server's config, error, and log files
  42. # are kept in
  43.  
  44. ServerRoot "E:/Apache"
  45.  
  46. # BindAddress: You can support virtual hosts with this option. This option
  47. # is used to tell the server which IP address to listen to. It can either
  48. # contain "*", an IP address, or a fully qualified Internet domain name.
  49. # See also the VirtualHost directive.
  50.  
  51. #BindAddress *
  52.  
  53. # ErrorLog: The location of the error log file. If this does not start
  54. # with /, ServerRoot is prepended to it.
  55.  
  56. ErrorLog logs/error.log
  57.  
  58. # TransferLog: The location of the transfer log file. If this does not
  59. # start with /, ServerRoot is prepended to it.
  60.  
  61. TransferLog logs/access.log
  62.  
  63. # PidFile: The file the server should log its pid to
  64. PidFile logs/httpd.pid
  65.  
  66. # ScoreBoardFile: File used to store internal server process information.
  67. # Not all architectures require this.  But if yours does (you'll know because
  68. # this file is created when you run Apache) then you *must* ensure that
  69. # no two invocations of Apache share the same scoreboard file.
  70. ScoreBoardFile logs/apache_status
  71.  
  72. # ServerName allows you to set a host name which is sent back to clients for
  73. # your server if it's different than the one the program would get (i.e. use
  74. # "www" instead of the host's real name).
  75. #
  76. # Note: You cannot just invent host names and hope they work. The name you 
  77. # define here must be a valid DNS name for your host. If you don't understand
  78. # this, ask your network administrator.
  79.  
  80. ServerName LittleBrother3
  81.  
  82. # UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
  83. # Apache needs to construct a self-referencing URL (a url that refers back
  84. # to the server the response is coming from) it will use ServerName and
  85. # Port to form a "canonical" name.  With this setting off, Apache will
  86. # use the hostname:port that the client supplied, when possible.  This
  87. # also affects SERVER_NAME and SERVER_PORT in CGIs.
  88. UseCanonicalName on
  89.  
  90. # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
  91. # document that was negotiated on the basis of content. This asks proxy
  92. # servers not to cache the document. Uncommenting the following line disables
  93. # this behavior, and proxies will be allowed to cache the documents.
  94.  
  95. CacheNegotiatedDocs
  96.  
  97. # Timeout: The number of seconds before receives and sends time out
  98.  
  99. Timeout 300
  100.  
  101. # KeepAlive: Whether or not to allow persistent connections (more than
  102. # one request per connection). Set to "Off" to deactivate.
  103.  
  104. KeepAlive On
  105.  
  106. # MaxKeepAliveRequests: The maximum number of requests to allow
  107. # during a persistent connection. Set to 0 to allow an unlimited amount.
  108. # We reccomend you leave this number high, for maximum performance.
  109.  
  110. MaxKeepAliveRequests 100
  111.  
  112. # KeepAliveTimeout: Number of seconds to wait for the next request
  113.  
  114. KeepAliveTimeout 15
  115.  
  116. # Server-pool size regulation. Apache excutes as multiple servers (this
  117. # allows for some fault tolerance - if a server dies, another one takes
  118. # its place), each of which are multithreaded and can serve multiple
  119. # requests.
  120.  
  121. # Start up 3 servers (in case one dies, another can take its place, while
  122. # a new one is spawned
  123. StartServers 3
  124.  
  125. # Don't force a server to exit after it has served some number of requests.
  126. # If you do want server's to exit after they have run for a long time (to
  127. # help the system clean up after the process), please set this to a pretty
  128. # large number - like 10,000. What this will do, is, each child server will
  129. # exit after serving 10,000 requests, and another server will take its place.
  130. MaxRequestsPerChild 0
  131.  
  132. # Number of concurrent threads at a time (set the value to more or less
  133. # depending on the responsiveness you want and the resources you wish
  134. # this server to consume).
  135.  
  136. ThreadsPerChild 50
  137.  
  138.  
  139. # Proxy Server directives. Uncomment the following line to
  140. # enable the proxy server:
  141.  
  142. #ProxyRequests On
  143.  
  144. # To enable the cache as well, edit and uncomment the following lines:
  145.  
  146. #CacheRoot /apache/proxy
  147. #CacheSize 5
  148. #CacheGcInterval 4
  149. #CacheMaxExpire 24
  150. #CacheLastModifiedFactor 0.1
  151. #CacheDefaultExpire 1
  152. #NoCache a_domain.com another_domain.edu joes.garage_sale.com
  153.  
  154. # Listen: Allows you to bind Apache to specific IP addresses and/or
  155. # ports, in addition to the default. See also the VirtualHost command
  156.  
  157. #Listen 3000
  158. #Listen 12.34.56.78:80
  159.  
  160. # VirtualHost: Allows the daemon to respond to requests for more than one
  161. # server address, if your server machine is configured to accept IP packets
  162. # for multiple addresses. This can be accomplished with the ifconfig 
  163. # alias flag, or through kernel patches like VIF.
  164.  
  165. # Any httpd.conf or srm.conf directive may go into a VirtualHost command.
  166. # See also the BindAddress entry.
  167.  
  168. #<VirtualHost host.some_domain.com>
  169. #ServerAdmin webmaster@host.some_domain.com
  170. #DocumentRoot /www/docs/host.some_domain.com
  171. #ServerName host.some_domain.com
  172. #ErrorLog logs/host.some_domain.com-error_log
  173. #TransferLog logs/host.some_domain.com-access_log
  174. #</VirtualHost>
  175.  
  176.  
  177.